import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//动态展示数字
import VueAnimateNumber from 'vue-animate-number'

// Vue.prototype.dayjs = dayjs;
const app = createApp(App)


app.use(router).use(ElementPlus).use(VueAnimateNumber).mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    App.components(key, component)
  }